package com.qiuling.iot.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;


/**
 * @Author：zhangqiang
 * @Description：客户端发送
 * @Date：Created in 16:44 2020/2/23
 * @Modified By：
 */
@Data
public class ClientSendReqVO implements Serializable {
    private static final long serialVersionUID = -9136773533927367671L;

    @ApiModelProperty(value = "功能码 0 心跳 1 登陆 2 登出 3 发送消息")
    private Integer functionCode;

    @NotBlank(message = "设备信息不能为空")
    @ApiModelProperty(value = "客户端用户设备编码")
    private String EquipmentCode;

    @ApiModelProperty(value = "消息体，定义为String类型")
    private String message;

}
